package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.dto.DishDTO;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {


    void saveFlavor(List<DishFlavor> flavors);

    void deleteDishByFlavor(Long id);

    List<DishFlavor> getByDishIdFlavor(long dishId);

//    void insertFlavor(List<DishFlavor> flavors);
}
